package cn.bisoft.java.bean.entity;

import java.io.Serializable;



/**
 * This is an object that contains data related to the AnteFrontFillLog table.
 * Do not modify this class because it will be overwritten if the configuration file
 * related to this class is modified.
 *
 * @hibernate.class
 *  table="AnteFrontFillLog"
 */

public abstract class BaseAnteFrontFillLog  implements Serializable {
	private static final long serialVersionUID = 1L;
	public static String REF = "AnteFrontFillLog";
	public static String PROP_NOTIFY_STATE = "NotifyState";
	public static String PROP_FILL_TIME = "FillTime";
	public static String PROP_PAGE_RETURN_URL = "pageReturnUrl";
	public static String PROP_FILL_ID = "FillId";
	public static String PROP_FILL_MONEY = "FillMoney";
	public static String PROP_MERCHANT_ID = "MerchantId";
	public static String PROP_PROVIDER_ID = "ProviderId";
	public static String PROP_NOTIFY_SUM = "NotifySum";
	public static String PROP_FEE_RATE = "FeeRate";
	public static String PROP_CARD_TYPE = "CardType";
	public static String PROP_ID_CARD = "IdCard";
	public static String PROP_PAY_TIME = "PayTime";
	public static String PROP_FILL_STATE = "FillState";
	public static String PROP_LOGIN_ID = "LoginId";
	public static String PROP_ERROR_MSG = "ErrorMsg";
	public static String PROP_SEQ_NO = "SeqNo";
	public static String PROP_NAME = "Name";
	public static String PROP_NOTIFY_TIME = "NotifyTime";
	public static String PROP_COUNTER_ID = "CounterId";
	public static String PROP_ORDER_ID = "OrderId";


	// constructors
	public BaseAnteFrontFillLog () {
		initialize();
	}

	/**
	 * Constructor for primary key
	 */
	public BaseAnteFrontFillLog (java.lang.Integer seqNo) {
		this.setSeqNo(seqNo);
		initialize();
	}

	/**
	 * Constructor for required fields
	 */
	public BaseAnteFrontFillLog (
		java.lang.Integer seqNo,
		java.lang.String counterId,
		java.lang.String fillId,
		java.lang.String loginId,
		java.lang.Integer cardType,
		java.lang.String idCard,
		java.lang.String name,
		java.lang.String providerId,
		java.lang.Integer fillMoney,
		java.lang.Integer fillState,
		java.lang.Integer notifyState,
		java.lang.Integer notifySum) {

		this.setSeqNo(seqNo);
		this.setCounterId(counterId);
		this.setFillId(fillId);
		this.setLoginId(loginId);
		this.setCardType(cardType);
		this.setIdCard(idCard);
		this.setName(name);
		this.setProviderId(providerId);
		this.setFillMoney(fillMoney);
		this.setFillState(fillState);
		this.setNotifyState(notifyState);
		this.setNotifySum(notifySum);
		initialize();
	}

	protected void initialize () {}



	private int hashCode = Integer.MIN_VALUE;

	// primary key
	private java.lang.Integer seqNo;

	// fields
	private java.lang.String counterId;
	private java.lang.String fillId;
	private java.lang.String loginId;
	private java.lang.Integer cardType;
	private java.lang.String idCard;
	private java.lang.String name;
	private java.lang.String providerId;
	private java.lang.Integer fillMoney;
	private java.util.Date fillTime;
	private java.lang.String merchantId;
	private java.lang.String orderId;
	private java.util.Date payTime;
	private java.lang.Integer fillState;
	private java.lang.String errorMsg;
	private java.lang.Integer notifyState;
	private java.lang.Integer notifySum;
	private java.util.Date notifyTime;
	private java.lang.String pageReturnUrl;
	private java.lang.Integer feeRate;



	/**
	 * Return the unique identifier of this class
     * @hibernate.id
     *  generator-class="native"
     *  column="SeqNo"
     */
	public java.lang.Integer getSeqNo () {
		return seqNo;
	}

	/**
	 * Set the unique identifier of this class
	 * @param seqNo the new ID
	 */
	public void setSeqNo (java.lang.Integer seqNo) {
		this.seqNo = seqNo;
		this.hashCode = Integer.MIN_VALUE;
	}




	/**
	 * Return the value associated with the column: CounterId
	 */
	public java.lang.String getCounterId () {
		return counterId;
	}

	/**
	 * Set the value related to the column: CounterId
	 * @param counterId the CounterId value
	 */
	public void setCounterId (java.lang.String counterId) {
		this.counterId = counterId;
	}



	/**
	 * Return the value associated with the column: FillId
	 */
	public java.lang.String getFillId () {
		return fillId;
	}

	/**
	 * Set the value related to the column: FillId
	 * @param fillId the FillId value
	 */
	public void setFillId (java.lang.String fillId) {
		this.fillId = fillId;
	}



	/**
	 * Return the value associated with the column: LoginId
	 */
	public java.lang.String getLoginId () {
		return loginId;
	}

	/**
	 * Set the value related to the column: LoginId
	 * @param loginId the LoginId value
	 */
	public void setLoginId (java.lang.String loginId) {
		this.loginId = loginId;
	}



	/**
	 * Return the value associated with the column: CardType
	 */
	public java.lang.Integer getCardType () {
		return cardType;
	}

	/**
	 * Set the value related to the column: CardType
	 * @param cardType the CardType value
	 */
	public void setCardType (java.lang.Integer cardType) {
		this.cardType = cardType;
	}



	/**
	 * Return the value associated with the column: IdCard
	 */
	public java.lang.String getIdCard () {
		return idCard;
	}

	/**
	 * Set the value related to the column: IdCard
	 * @param idCard the IdCard value
	 */
	public void setIdCard (java.lang.String idCard) {
		this.idCard = idCard;
	}



	/**
	 * Return the value associated with the column: Name
	 */
	public java.lang.String getName () {
		return name;
	}

	/**
	 * Set the value related to the column: Name
	 * @param name the Name value
	 */
	public void setName (java.lang.String name) {
		this.name = name;
	}



	/**
	 * Return the value associated with the column: ProviderId
	 */
	public java.lang.String getProviderId () {
		return providerId;
	}

	/**
	 * Set the value related to the column: ProviderId
	 * @param providerId the ProviderId value
	 */
	public void setProviderId (java.lang.String providerId) {
		this.providerId = providerId;
	}



	/**
	 * Return the value associated with the column: FillMoney
	 */
	public java.lang.Integer getFillMoney () {
		return fillMoney;
	}

	/**
	 * Set the value related to the column: FillMoney
	 * @param fillMoney the FillMoney value
	 */
	public void setFillMoney (java.lang.Integer fillMoney) {
		this.fillMoney = fillMoney;
	}



	/**
	 * Return the value associated with the column: FillTime
	 */
	public java.util.Date getFillTime () {
		return fillTime;
	}

	/**
	 * Set the value related to the column: FillTime
	 * @param fillTime the FillTime value
	 */
	public void setFillTime (java.util.Date fillTime) {
		this.fillTime = fillTime;
	}



	/**
	 * Return the value associated with the column: MerchantId
	 */
	public java.lang.String getMerchantId () {
		return merchantId;
	}

	/**
	 * Set the value related to the column: MerchantId
	 * @param merchantId the MerchantId value
	 */
	public void setMerchantId (java.lang.String merchantId) {
		this.merchantId = merchantId;
	}



	/**
	 * Return the value associated with the column: OrderId
	 */
	public java.lang.String getOrderId () {
		return orderId;
	}

	/**
	 * Set the value related to the column: OrderId
	 * @param orderId the OrderId value
	 */
	public void setOrderId (java.lang.String orderId) {
		this.orderId = orderId;
	}



	/**
	 * Return the value associated with the column: PayTime
	 */
	public java.util.Date getPayTime () {
		return payTime;
	}

	/**
	 * Set the value related to the column: PayTime
	 * @param payTime the PayTime value
	 */
	public void setPayTime (java.util.Date payTime) {
		this.payTime = payTime;
	}



	/**
	 * Return the value associated with the column: FillState
	 */
	public java.lang.Integer getFillState () {
		return fillState;
	}

	/**
	 * Set the value related to the column: FillState
	 * @param fillState the FillState value
	 */
	public void setFillState (java.lang.Integer fillState) {
		this.fillState = fillState;
	}



	/**
	 * Return the value associated with the column: ErrorMsg
	 */
	public java.lang.String getErrorMsg () {
		return errorMsg;
	}

	/**
	 * Set the value related to the column: ErrorMsg
	 * @param errorMsg the ErrorMsg value
	 */
	public void setErrorMsg (java.lang.String errorMsg) {
		this.errorMsg = errorMsg;
	}



	/**
	 * Return the value associated with the column: NotifyState
	 */
	public java.lang.Integer getNotifyState () {
		return notifyState;
	}

	/**
	 * Set the value related to the column: NotifyState
	 * @param notifyState the NotifyState value
	 */
	public void setNotifyState (java.lang.Integer notifyState) {
		this.notifyState = notifyState;
	}



	/**
	 * Return the value associated with the column: NotifySum
	 */
	public java.lang.Integer getNotifySum () {
		return notifySum;
	}

	/**
	 * Set the value related to the column: NotifySum
	 * @param notifySum the NotifySum value
	 */
	public void setNotifySum (java.lang.Integer notifySum) {
		this.notifySum = notifySum;
	}



	/**
	 * Return the value associated with the column: NotifyTime
	 */
	public java.util.Date getNotifyTime () {
		return notifyTime;
	}

	/**
	 * Set the value related to the column: NotifyTime
	 * @param notifyTime the NotifyTime value
	 */
	public void setNotifyTime (java.util.Date notifyTime) {
		this.notifyTime = notifyTime;
	}



	/**
	 * Return the value associated with the column: pageReturnUrl
	 */
	public java.lang.String getPageReturnUrl () {
		return pageReturnUrl;
	}

	/**
	 * Set the value related to the column: pageReturnUrl
	 * @param pageReturnUrl the pageReturnUrl value
	 */
	public void setPageReturnUrl (java.lang.String pageReturnUrl) {
		this.pageReturnUrl = pageReturnUrl;
	}



	/**
	 * Return the value associated with the column: FeeRate
	 */
	public java.lang.Integer getFeeRate () {
		return feeRate;
	}

	/**
	 * Set the value related to the column: FeeRate
	 * @param feeRate the FeeRate value
	 */
	public void setFeeRate (java.lang.Integer feeRate) {
		this.feeRate = feeRate;
	}




	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof AnteFrontFillLog)) return false;
		else {
			AnteFrontFillLog anteFrontFillLog = (AnteFrontFillLog) obj;
			if (null == this.getSeqNo() || null == anteFrontFillLog.getSeqNo()) return false;
			else return (this.getSeqNo().equals(anteFrontFillLog.getSeqNo()));
		}
	}

	public int hashCode () {
		if (Integer.MIN_VALUE == this.hashCode) {
			if (null == this.getSeqNo()) return super.hashCode();
			else {
				String hashStr = this.getClass().getName() + ":" + this.getSeqNo().hashCode();
				this.hashCode = hashStr.hashCode();
			}
		}
		return this.hashCode;
	}


	public String toString () {
		return super.toString();
	}


}